<%@ page language="java"  pageEncoding="UTF-8"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<?xml version="1.0" encoding="UTF-8" ?>

<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<link rel="stylesheet" href="../style/springsource.css" type="text/css"></link>	
	<title>Hzjx project</title>


</head>






<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>


  
  <body>
 

 
<table cellspacing="1"> 
	<thead>
	<tr>
		<th>ID</th>
		<th>汉字</th>
		<th>汉字拼音</th>
		<th>汉字含义</th>
		<th>英文单词</th>
		<th>英文含义</th>
		<th>输入法编码</th>
		<th>操作</th>
	</tr>
	</thead>
	<tbody>
 	<c:forEach  var="singleWord" items="${singleWordList}">
 		<tr>
		<td>${singleWord.id} </td>
		<td>${singleWord.cnWord} </td>
		<td>${singleWord.cnPy} </td>
		<td>${singleWord.cnMeans} </td>
		<td>${singleWord.enWord} </td>
		<td>${singleWord.enMeans} </td>
		<td>${singleWord.inputCode} </td> 		
		<td>
			<a href="/editSingleWord.do?id=${singleWord.id}">EDIT</a>
			||
			<a href="/deleteSingleWord.do?id=${singleWord.id}">删除</a>
		</td>
 		</tr>
 	</c:forEach>
 	</tbody>
</table> 

 
  <div class="control-bar">
 	<input type=button value="添加" onclick="location.href='/editSingleWord.do'"/>
 </div>
 
  </body>
</html>
